define(function (require) {
var Base = require('common/base/object');
    var App={
        <%_.each(modules,function(val,key){%>
            <%=val%>:require('group/<%=val%>/main')
            <%if(key<modules.length-1){%>,<%}%>
        <%})%>
    };
    return Base.extend({
        initialize: function (params) {
            var _this = this;
            Base.prototype.initialize.apply(this, [params]);
            if (App[_global.m]) {
                new App[_global.m]();
            }
        }
    });
});